package com.example.CarManagement.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 权限表
 * </p>
 *
 * @author 徐佳彪
 * @since 2025-07-11
 */
@TableName("c_permission")
public class Permission implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 权限唯一标识，主键
     */
    private Long id;

    /**
     * 权限名称
     */
    private String name;

    private String label;


    /**
     * 权限描述
     */
    private String remark;


    /**
     * 是否删除（0:未删除，1:已删除）
     */
    private Boolean deleted;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }


    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    @Override
    public String toString() {
        return "Permission{" + "id = " + id + ", name = " + name + ", remark = " + remark +

                ", deleted = " + deleted + "}";
    }
}
